<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community : All Content - All Communities</title>
    <link>https://forums.adobe.com/</link>
    <description>All Content in Adobe Community</description>
    <language>en</language>
    <pubDate>Mon, 04 Mar 2013 09:19:35 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-03-04T09:19:35Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Why is BC modifying/breaking this jQuery script</title>
      <link>https://forums.adobe.com/thread/1164027</link>
      <description>&lt;!-- [DocumentBodyStart:88ac938b-0bc6-4dbb-8d8a-782dafde9c2b] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am trying to add a script from Wotif.com to display accommodation listing on a BC website.&amp;nbsp; However, when I drop the script onto the BC server the html is `edited` before sending it to the browser and it breaks the script.&amp;nbsp; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To test that it is not the script at fault I have created a simple html page on our apache server where I have place the script.&amp;nbsp; This can be viewed at &lt;a class="jive-link-external-small" href="http://onworks.co.nz/wotif/wotif.html" rel="nofollow"&gt;http://onworks.co.nz/wotif/wotif.html&lt;/a&gt;.&amp;nbsp; As you can see the script works.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Next I have added a blank page on our clients site and placed the script. This is using a page with no template to ensure no other scripts are being loaded in the header. You can see the result (and check the page source) at &lt;a class="jive-link-external-small" href="http://planmyplay.co.nz/wotif-test-script.html" rel="nofollow"&gt;http://planmyplay.co.nz/wotif-test-script.html&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have saved both source files and run these through a comparison tool. Significantly, BC appears to be adding double quotes ( &amp;#8220; ), removing braces ( { } ) and removing percent ( % ) from the html and the resulting code is not-valid and meaningless which explains why it isn&amp;#8217;t working. See the highlighted area in the screenshot at &lt;a class="jive-link-external-small" href="http://screencast.com/t/eA2ejx4fx" rel="nofollow"&gt;http://screencast.com/t/eA2ejx4fx&lt;/a&gt; comparing the apache (working) html on the left with the BC (broken) html on the right. Both taken from the page source as rendered in the browser.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The first question is &amp;lsquo;Why is BC editing the script before sending it to the browser&amp;#8217;?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The second question is "What can be done to remedy this"? &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note: This script will be loading different results according to location via Web Apps listings.&amp;nbsp; As there are hundreds of web apps listings on this site, any workaround needs to be universal or simple to apply. If complex editing is required for each placement of it then this would be entirely impractical to use at this scale. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The only workaround I have so far come up with is to place the individual scripts on a server outside BC and iframe these into the listings. However, this is an undesirable fix and would require heights to be individually specified to accommodate the variable number of listings (which thenselves may change in quantity at any time). &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:88ac938b-0bc6-4dbb-8d8a-782dafde9c2b] --&gt;&lt;img src='/beacon?t=1415881809961' /&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">jquery</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">js</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">coding</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">webapp</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">script_error</category>
      <pubDate>Mon, 04 Mar 2013 09:19:35 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1164027</guid>
      <dc:date>2013-03-04T09:19:35Z</dc:date>
      <clearspace:dateToText>1 year 8 months ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Uploading pages &amp; images by SFTP via CuteFTP Mac erasing all file data.</title>
      <link>https://forums.adobe.com/thread/1116151</link>
      <description>&lt;!-- [DocumentBodyStart:63fc3585-9fc3-49ed-a893-70a31342831d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Connecting with SFTP using CuteFTP Mac to upload or edit files is causing major failure and corrupting everything it touches. &lt;/p&gt;&lt;p&gt;Uploading images report 1 error "SSH2_FX_EOF".&amp;nbsp; This is an 'End of File error'.&amp;nbsp; The uploaded images are written/overwritten as empty 0kb files. &lt;/p&gt;&lt;p&gt;Uploading html files strips all file data/content, creating empty pages and appends "(invalid)" to the filename in file manager.&amp;nbsp; &lt;/p&gt;&lt;p&gt;A bulk update to a site today has erased all pages and images. Not ideal! Any suggestions how to resolve this issue in CuteFTP?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:63fc3585-9fc3-49ed-a893-70a31342831d] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">ftp</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">sftp</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">ssh</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">cuteftp</category>
      <pubDate>Sun, 16 Dec 2012 07:02:34 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1116151</guid>
      <dc:date>2012-12-16T07:02:34Z</dc:date>
      <clearspace:dateToText>1 year 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

